package com.ql.dao.yk;

import com.ql.pojo.yk.Yaopin;
import com.ql.pojo.yk.YaopinExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface YaopinMapper {
    int countByExample(YaopinExample example);

    int deleteByExample(YaopinExample example);

    int deleteByPrimaryKey(Integer ycode);

    int insert(Yaopin record);

    int insertSelective(Yaopin record);

    List<Yaopin> selectByExample(YaopinExample example);

    Yaopin selectByPrimaryKey(Integer ycode);

    int updateByExampleSelective(@Param("record") Yaopin record, @Param("example") YaopinExample example);

    int updateByExample(@Param("record") Yaopin record, @Param("example") YaopinExample example);

    int updateByPrimaryKeySelective(Yaopin record);

    int updateByPrimaryKey(Yaopin record);
}